If you have nested loops of the same type , for example a 如果嵌套了同類循環(huán),例如,一個(gè)
Write the nested loops in the normal way 以常規(guī)方法編寫嵌套循環(huán)。
If you have nested loops of the same type , for example nested 如果嵌套循環(huán)的類型相同(例如嵌套的
If you have nested loops of different types , for example a 如果嵌套了多個(gè)類型不同的循環(huán),例如,一個(gè)
Skipping from within a nested loop 從嵌套循環(huán)中跳轉(zhuǎn)
Conversion , however , is to manually build a suffix out of nested loops 轉(zhuǎn)換的方法是手工在嵌套循環(huán)之外構(gòu)建一個(gè)后綴。
Adjusted the wording of the introduction and added the forcing of a nested loop join 調(diào)整了簡(jiǎn)介的措辭并添加了強(qiáng)制使用嵌套循環(huán)聯(lián)接。
In this example , two nested loops are used to search for a substring within a string 在此示例中,使用了兩個(gè)嵌套循環(huán)來搜索一個(gè)字符串中的子字符串。
The result is less code and the elimination of a common source of errors when writing nested loops 結(jié)果是當(dāng)編寫嵌套循環(huán)時(shí)更少的程序代碼和消除了共同的錯(cuò)誤源。
In pyrex , as you would expect , these nested loops are pretty much free , and i save the cost of conversion and slicing 在pyrex中,正如您期望的一樣,這些嵌套的循環(huán)都是很少花費(fèi)時(shí)間的,因而我節(jié)省了轉(zhuǎn)換和分時(shí)調(diào)度的代價(jià):